package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfAreaDao;
import com.wfcm.entity.WfAreaEntity;
import com.wfcm.service.WfAreaService;



@Service("wfAreaService")
public class WfAreaServiceImpl implements WfAreaService {
	@Autowired
	private WfAreaDao wfAreaDao;
	
	@Override
	public WfAreaEntity queryObject(Integer id){
		return wfAreaDao.queryObject(id);
	}
	
	@Override
	public List<WfAreaEntity> queryList(Map<String, Object> map){
		return wfAreaDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfAreaDao.queryTotal(map);
	}
	
	@Override
	public void save(WfAreaEntity wfArea){
		wfAreaDao.save(wfArea);
	}
	
	@Override
	public void update(WfAreaEntity wfArea){
		wfAreaDao.update(wfArea);
	}
	
	@Override
	public void delete(Integer id){
		wfAreaDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfAreaDao.deleteBatch(ids);
	}
	
}
